package com.example.springworkweb;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.mapper.MapperScannerConfigurer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;

@MapperScan(basePackages={"com.example.springworkadmin.dao","com.example.springworkback.Dao","com.example.springworkfront.Dao"})
@SpringBootApplication(scanBasePackages={"com.example.springworkadmin","com.example.springworkback","com.example.springworkfront"})
public class SpringWorkWebApplication {


    public static void main(String[] args) {
        SpringApplication.run(SpringWorkWebApplication.class, args);
    }



}
